<template>
  <div class="app-container home flex-cloumn">
    <component :is="getInstrument('xeq')"></component>
  </div>
</template>

<script setup name="Index">
import {getCurrentInstance} from "vue";
const {proxy} = getCurrentInstance();
import {defineAsyncComponent} from "vue";

//组件名称
let components = {
  "xeq": defineAsyncComponent(() =>
        import('@/views/dashboard/zhb/index.vue')
   ),
}
const getInstrument = (key)=>{
  return components[key]
}
</script>


